<p>
  paginator works!
</p>
<div>
    <af-paginator [totalRecords]="30" [selectedData]="selectedData" [rowsPerPageOptions]="[5,10,20]" (onPageChange)="onPageChange($event)"></af-paginator>
</div>